package com.zenith.common.constant;

/**
 * Redis缓存键常量类
 */
public class RedisKeyConstant {
    
    // =========================== 文章服务相关缓存键 ===========================
    /** 文章分页缓存键 */
    public static final String ARTICLE_PAGE = "article:page:";
    
    /** 文章详情缓存键 */
    public static final String ARTICLE_DETAIL = "article:detail:";
    
    /** 文章分类分页缓存键 */
    public static final String CATEGORY_PAGE = "category:page:";
    
    /** 文章分类树缓存键 */
    public static final String CATEGORY_TREE = "category:tree";
    
    /** 文章标签分页缓存键 */
    public static final String TAG_PAGE = "tag:page:";
    
    /** 文章专题分页缓存键 */
    public static final String TOPIC_PAGE = "topic:page:";
    
    // =========================== 教育服务相关缓存键 ===========================
    /** 课程分页缓存键 */
    public static final String COURSE_PAGE = "course:page:";
    
    /** 课程详情缓存键 */
    public static final String COURSE_DETAIL = "course:detail:";
    
    /** 学生分页缓存键 */
    public static final String STUDENT_PAGE = "student:page:";
    
    /** 学生详情缓存键 */
    public static final String STUDENT_DETAIL = "student:detail:";
    
    /** 班级分页缓存键 */
    public static final String CLASS_PAGE = "class:page:";
    
    /** 班级详情缓存键 */
    public static final String CLASS_DETAIL = "class:detail:";
    
    // =========================== 用户服务相关缓存键 ===========================
    /** 用户分页缓存键 */
    public static final String USER_PAGE = "user:page:";
    
    /** 用户详情缓存键 */
    public static final String USER_DETAIL = "user:detail:";
    
    /** 用户信息缓存键 */
    public static final String USER_INFO = "user:info:";
    
    // =========================== 存储服务相关缓存键 ===========================
    /** 文件信息缓存键 */
    public static final String FILE_INFO = "file:info:";
    
    /** 文件列表缓存键 */
    public static final String FILE_LIST = "file:list:";
}